import { legacy_createStore as createStore, applyMiddleware } from "redux"
import rootReducers from "./reducers"
import thunk from "redux-thunk"
const store = createStore(rootReducers, applyMiddleware(thunk))
// console.log(store.getState());
export default store